ComponentOne Xamarin.Android
MoveToPageAsync Method (C1PagedCollectionView<T>)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1PagedCollectionView<T> Class : MoveToPageAsync Method
The index of the page.
The cancellation token.
Moves to the page pageIndex.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1PagedCollectionView`1/d__16)> 
Public Overrides Function MoveToPageAsync( _ 
   ByVal pageIndex As Integer, _ 
   Optional ByVal cancellationToken As CancellationToken _ 
) As Task
'Usage
 
Dim instance As C1PagedCollectionView(Of T)
Dim pageIndex As Integer
Dim cancellationToken As CancellationToken
Dim value As Task
 
value = instance.MoveToPageAsync(pageIndex, cancellationToken)
[AsyncStateMachine(C1.CollectionView.C1PagedCollectionView`1/d__16)] 
public override Task MoveToPageAsync( 
   int pageIndex, 
   CancellationToken cancellationToken 
)

Parameters

pageIndex
The index of the page.
cancellationToken
The cancellation token.
See Also

Reference

C1PagedCollectionView<T> Class
C1PagedCollectionView<T> Members